# Title:Imprimir los numeros enteros del 9 al 43				Filename: numeroentero.s
# Autho: Carlos Rafael Aquino Acuña  									Date: 24 / Abril / 2017
# Description: Imprime los numeros del 9 al 43
# Input: -
# Output: 9 al 43
@numeroentero.s
@ Imprimir los numeros enteros del 9 al 43

main:
 mov r4, #0
 mov r5, #1
 
loop:
 cmp r5, #22
 bgt end
 add r4, r4, r5
 add r5, r5, #1
 
 @imprimir numeros
 push {ip, lr}
 ldr r0, =string
 mov r1, r4
 bl printf
 pop {ip, pc}
 
 @regresa a inicio
 b loop
end:
 mov r0, r4
 bx lr
 
printf(r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43)
